//
//  DanoneComSQLStr.h
//  DanoneEA
//
//  Created by 3ti_Jery on 16/10/19.
//  Copyright © 2016年 翔傲科技. All rights reserved.
//

#ifndef DanoneComSQLStr_h
#define DanoneComSQLStr_h


#define OPStatus_Normal   1
#define OPStatus_Add      2
#define OPStatus_Midify   3
#define OPStatus_Delete   4
 
#pragma mark -- TABLE_BaseModel --

#define DB_SECRETKEY @"123456"

/**
 *公用字段
 */
#define DairyBase_AppId                @"appId"
#define DairyBase_ServerId             @"serverId"
#define DairyBase_InfantId             @"infantId"
#define DairyBase_Status               @"status"      // OPStatus_NORMAL=1,OPStatus_ADD,OPStatus_MODIFY,OPStatus_DELETE
#define DairyBase_ModifyReason         @"modifyReason"
#define DairyBase_DeleteReason         @"deleteReason"
#define DairyBase_CreateTime           @"createTime"
#define DairyBase_ModifyTime           @"modifyTime"
#define DairyBase_DeleteTime           @"deleteTime"
#define DairyBase_Ddat                 @"ddat"


#pragma mark -- TABLE_Crying --

#define Crying_TABLE                  @"t_crying"
#define Crying_ID                     @"_ID"
#define Crying_CryType                @"cryType"
#define Crying_TimeOfDay              @"timeOfDay"
#define Crying_CryInyn                @"cryInyn"
#define Crying_CrySttime              @"crySttime"
#define Crying_CryEntime              @"cryEntime"


#pragma mark -- TABLE_Stool --

#define Stool_TABLE                   @"t_stool"
#define Stool_ID                      @"_ID"
#define Stool_StoolYn                 @"stoolYn" //N=no stool Y=yes stool
#define Stool_Image                   @"image"
#define Stool_StoolCon                @"stoolCon"
#define Stool_amount                  @"amount"


#pragma mark -- TABLE_Feeding --

#define Feeding_TABLE                @"t_feeding"
#define Feeding_ID                   @"_ID"
#define Feeding_feedingId            @"feedingId"
#define Feeding_numOfStuFor          @"StudyFormula"
#define Feeding_numOfBreFee          @"BreastFeeding"
#define Feeding_numOfOthForFee       @"OtherFormulaFeeding"
#define Feeding_numOfBOTWOT          @"BeveragesOtherThanWaterOrTea"
#define Feeding_numOfComFee          @"ComplementaryFeeding"

#define Feeding_timesOfDay           @"TimeOfDay"
#define Feeding_feedScoop            @"feedScoop"
#define Feeding_feedPrep             @"feedPrep"
#define Feeding_feedLeft             @"feedLeft"
#define Feeding_feedCon              @"feedCon"

#pragma mark -- TABLE_TimeConsume --

#define TimeConsume_TABLE            @"t_timeConsume"
#define TimeConsume_Date             @"date"
#define TimeConsume_Stool            @"stool"
#define TimeConsume_Feeding          @"feeding"
#define TimeConsume_Crying           @"crying"
#define TimeConsume_APP              @"app"



#pragma mark -- TABLE_Notification --

#define Notification_TABLE           @"t_notification"
#define Notification_Type            @"type"
#define Notification_Mode            @"model"
#define Notification_time            @"time"
#define Notification_diaryreg_Id     @"diaryreg_Id"


#endif /* DanoneComSQLStr_h */
